package com;

import com.mapper.EmployeeMapper;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shkstart
 * @create 2022/3/14-9:58
 */
@Controller
public class MyTest {
    @Autowired
    private EmployeeMapper mapper;

    @RequestMapping("/test")
    public void test1(){
        System.out.println(mapper.selectByPrimaryKey((long) 8));
    }
}
